package com.thesis.manage.service.model;

/**
 * @author php
 * @date 2018/2/28
 */
public enum AnswerStateEnum {
    NO_OPEN(0, "未开启"),
    END(-1, "已结束"),
    RUNNING(1, "正在进行中");
    private String name;
    private Integer value;

    AnswerStateEnum(Integer value, String name) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public Integer getValue() {
        return value;
    }
}
